package com.leiqichao.backend.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.leiqichao.backend.entity.Media;
import org.springframework.web.multipart.MultipartFile;
import java.io.IOException;

public interface MediaService extends IService<Media> {
    Media uploadFile(MultipartFile file, String uploaderName) throws IOException;
    boolean safeDelete(Long id);
}